<template>
  <el-breadcrumb>
    <el-breadcrumb-item
      v-for="(item, index) in routes.path.slice(1).split('/')"
      :key="index"
      >{{ dictionaries[item] }}</el-breadcrumb-item
    >
  </el-breadcrumb>
</template>

<script setup>
import { useRoute } from "vue-router";
import dictionaries from "../config/dictionaries";
const routes = useRoute();
</script>

<style></style>
